﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UpdateProfile.ascx.cs" Inherits="Cyberwolf.Modules.PWCAPAdmin.Organization.UpdateProfile" %>
<%@ Register Src="../UserControls/MainMenu.ascx" TagName="MainMenu" TagPrefix="pw" %>
<%@ Register Assembly="BM.Tools.WebControls.MForm" Namespace="BM.Tools.WebControls.MForm.Controls" TagPrefix="mf" %>
<%@ Register Assembly="BM.Tools.WebControls.MForm" Namespace="BM.Tools.WebControls.MForm.Controls.Additions" TagPrefix="mfadd" %>
<%@ Register Assembly="BM.Tools.WebControls.MForm" Namespace="BM.Tools.WebControls.MForm.Controls.Additions.Actions" TagPrefix="mfac" %>
<%@ Register Assembly="BM.Tools.WebControls.MForm" Namespace="BM.Tools.WebControls.MForm.Controls.Modifiers" TagPrefix="mfmod" %>
<%@ Register Assembly="BM.Tools.WebControls.MForm" Namespace="BM.Tools.WebControls.MForm.Controls.ValueHandlers" TagPrefix="mfvh" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>
<asp:Panel ID="pnPWCAPAdminContainer" runat="server">

    <%--<% #if DEBUG %>--%>
    <%--<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/Example/Layout/Css/main.css" />--%>
    <%--<dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/Example/Typography/Css/main.css" />--%>
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/Common/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/Title/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/VerticalTableDisplay/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/HorizontalTableDisplay/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/Leaf/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/ValueHandler/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/BubbleTooltip/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/ErrorLabel/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/Controls/Column/Css/main.css" />
    <dnn:DnnCssInclude runat="server" FilePath="~/DesktopModules/PWCAPAdmin/Resources/MForm/Tabs/Css/main.css" />

    <!--[if IE 6]>
		<link href="Resources/Example/Layout/Css/fix.ie6.css" type="text/css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="Resources/MForm/Common/Css/fix.ie6.css" />
        <link href="Resources/MForm/ValueHandler/Css/fix.ie6.css" type="text/css" rel="stylesheet" />
        <link href="Resources/MForm/HorizontalTableDisplay/Css/fix.ie6.css" type="text/css" rel="stylesheet" />
        <link rel="stylesheet" type="text/css" href="Resources/Wizard/Css/fix.ie6.css" /> 
    <![endif]-->
    <!--[if IE 7]>
		<link rel="stylesheet" type="text/css" href="Resources/Example/Layout/Css/fix.ie7.css" />
        <link href="Resources/MForm/ValueHandler/Css/fix.ie7.css" type="text/css" rel="stylesheet" />
    <![endif]
    <%--<link href="DesktopModules/PWCAPAdmin/Resources/compressed.css" rel="stylesheet" type="text/css" />--%>
    <!--[if IE 6]>
		<link href="Resources/compressed.ie6.css" type="text/css" rel="stylesheet" />        
    <![endif]-->
    <!--[if IE 7]>
		<link href="Resources/compressed.ie7.css" type="text/css" rel="stylesheet" />                
    <![endif]-->
    <div id="PWCAPAdminContainer">
        <div id="dvhead">
            <div class="nav">
                <asp:LinkButton ID="lnkLogout" OnClick="lnkLogout_Click" runat="server"></asp:LinkButton>
                <pw:MainMenu ID="pwMenu" runat="server"></pw:MainMenu>
                <br class="clearfix" />
            </div>
        </div>
        <div id="dvflash">
            <asp:Literal ID="litNoticeFlash" runat="server" EnableViewState="false"></asp:Literal>
            <asp:Literal ID="litErrorFlash" runat="server" EnableViewState="false"></asp:Literal>
        </div>
        <%--<div id="dvcontent">
            <div class="form">
                <div class="sa">
                    <div class="sb">
                        <div class="sc">
                            <div class="cont">
                                
                                <p>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>--%>
    </div>
    <h1>
        <asp:Literal ID="litTitle" runat="server"></asp:Literal></h1>
    <div id="modalbg">
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/DesktopModules/PWCAPAdmin/Schemas/SampleData.xml"></asp:XmlDataSource>
    </div>
    <div id="MFormContainer" runat="server">
        <div id="MForm">
            <mf:Root ID="Root1" runat="server" Name="Root1" DataSourceID="XmlDataSource1" CommonImagesPath="DesktopModules/PWCAPAdmin/Resources/MForm/Common/Images/">
                <CulturalContext>
                    <Formattings>
                        <mf:DateTimeFormatting DataType="DateTime" Format="g" />
                        <mf:DateTimeFormatting DataType="Date" Format="d" />
                        <mf:DateTimeFormatting DataType="Time" Format="t" />
                        <mf:DateTimeFormatting DataType="GYearMonth" Format="Y" />
                        <mf:DateTimeFormatting DataType="GMonthDay" Format="m" />
                        <mf:DateTimeFormatting DataType="GYear" Format="yyyy" />
                        <mf:DateTimeFormatting DataType="GMonth" Format="MM" />
                        <mf:DateTimeFormatting DataType="GDay" Format="dd" />
                    </Formattings>
                </CulturalContext>
                <UriMappings>
                    <mf:UriMapping Namespace="http://www.cyberwolf.com/ApplicationProcessor" Prefix="" />
                    <mf:UriMapping Namespace="http://www.w3.org/2001/XMLSchema" Prefix="xs" />
                </UriMappings>
                <Validator Placement="BeforeContent"></Validator>
                <Contents>
                    <mf:Branch runat="server" Name="OrgProfile">
                        <Contents>
                            <mf:Leaf runat="server" LeafType="Attribute" Name="Organization_ID" Ordinal="1">
                            </mf:Leaf>
                            <mf:Leaf runat="server" Name="DefaultSMTP" Ordinal="3">
                            </mf:Leaf>
                            <mf:Branch runat="server" Name="OrganizationInfo" Ordinal="2">
                                <Contents>
                                    <mf:Leaf runat="server" Name="Name" Ordinal="1">
                                    </mf:Leaf>
                                    <mf:Leaf runat="server" Name="FaultEmail" Ordinal="5">
                                        <Additions>
                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                        </Additions>
                                    </mf:Leaf>
                                    <mf:Leaf runat="server" MinOccurs="0" Name="WebSite" Ordinal="6">
                                    </mf:Leaf>
                                    <mf:Branch runat="server" Name="MailingAddress" Ordinal="2">
                                        <Contents>
                                            <mf:Leaf runat="server" MaxOccurs="50" Name="StreetAddress" Ordinal="1">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="City" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Region" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="PostalCode" Ordinal="4">
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" Name="PrimaryContact" Ordinal="3">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="FirstName" Ordinal="1">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="LastName" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Title" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Phone" Ordinal="4">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="((1\-)?(\d\d\d\-)?\d\d\d-\d\d\d\d)" />
                                                </Additions>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Extension" Ordinal="5">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Fax" Ordinal="6">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="((1\-)?(\d\d\d\-)?\d\d\d-\d\d\d\d)" />
                                                </Additions>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Email" Ordinal="7">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                </Additions>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MaxOccurs="20" MinOccurs="0" Name="AdditionalContact" Ordinal="4">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="FirstName" Ordinal="1">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="LastName" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Title" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Phone" Ordinal="4">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="((1\-)?(\d\d\d\-)?\d\d\d-\d\d\d\d)" />
                                                </Additions>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Extension" Ordinal="5">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Fax" Ordinal="6">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="((1\-)?(\d\d\d\-)?\d\d\d-\d\d\d\d)" />
                                                </Additions>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" MinOccurs="0" Name="Email" Ordinal="7">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                </Additions>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                </Contents>
                            </mf:Branch>
                            <mf:Branch runat="server" Name="OrderProcessing" Ordinal="4">
                                <Contents>
                                    <mf:Leaf runat="server" MinOccurs="0" Name="PowerWeb_Type" Ordinal="12">
                                        <ValueHandler>
                                            <mfvh:ListBoxValueHandler runat="server" Value="">
                                                <ListBox Rows="1">
                                                    <asp:ListItem Value="PW Classic">PW Classic</asp:ListItem>
                                                    <asp:ListItem Value="PW Version 10">PW Version 10</asp:ListItem>
                                                </ListBox>
                                            </mfvh:ListBoxValueHandler>
                                        </ValueHandler>
                                    </mf:Leaf>
                                    <mf:Branch runat="server" Name="RuleSet" Ordinal="1">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="RuleSetName" Ordinal="1">
                                            </mf:Leaf>
                                            <mf:Branch runat="server" MinOccurs="0" Name="Parameters" Ordinal="2">
                                                <Contents>
                                                    <mf:Branch runat="server" MaxOccurs="20" MinOccurs="0" Name="Parameter" Ordinal="1">
                                                        <Contents>
                                                            <mf:Leaf runat="server" Name="ParameterName" Ordinal="1">
                                                            </mf:Leaf>
                                                            <mf:Leaf runat="server" Name="ParameterValue" Ordinal="2">
                                                            </mf:Leaf>
                                                        </Contents>
                                                    </mf:Branch>
                                                </Contents>
                                            </mf:Branch>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" Name="RenderView" Ordinal="2">
                                        <Contents>
                                            <mf:Leaf runat="server" LeafType="Attribute" Name="ViewRender" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Message" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Formatter" Ordinal="3">
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="Fax" Ordinal="3">
                                        <Contents>
                                            <mf:Leaf runat="server" LeafType="Attribute" MinOccurs="0" Name="active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Message" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Formatter" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_Url" Ordinal="4">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_FaxNumber" Ordinal="5">
                                                <Additions>
                                                    <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="001\d\d\d\d\d\d\d\d\d\d" />
                                                </Additions>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_UserID" Ordinal="6">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_Password" Ordinal="7">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_Format" Ordinal="8">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="HTML">HTML</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_MethodName" Ordinal="9">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="SendCharFax">SendCharFax</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Service_ErrorMethodName" Ordinal="10">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="GetErrorMessage">GetErrorMessage</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Branch runat="server" Name="Notifications" Ordinal="11">
                                                <Contents>
                                                    <mf:Leaf runat="server" Name="Service_FromAddress" Ordinal="1">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MaxOccurs="50" Name="Email" Ordinal="2">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="RetryAttempts" Ordinal="12">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.2" Ordinal="2">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.3" Ordinal="3">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.4" Ordinal="4">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.5" Ordinal="5">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.6" Ordinal="6">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.7" Ordinal="7">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.8" Ordinal="8">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.9" Ordinal="9">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.10" Ordinal="10">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.11" Ordinal="11">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.12" Ordinal="12">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.13" Ordinal="13">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.14" Ordinal="14">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.15" Ordinal="15">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.16" Ordinal="16">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.17" Ordinal="17">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.18" Ordinal="18">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.19" Ordinal="19">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.20" Ordinal="20">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="DelayRetryAttempts" Ordinal="13">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame2" Ordinal="2">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="AcumenEmail" Ordinal="4">
                                        <Contents>
                                            <mf:Leaf runat="server" LeafType="Attribute" MinOccurs="0" Name="active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Encryption_Method" Ordinal="2">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="None">None</asp:ListItem>
                                                            <asp:ListItem Value="TEA">TEA</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Branch runat="server" Name="Notifications" Ordinal="3">
                                                <Contents>
                                                    <mf:Leaf runat="server" Name="Service_FromAddress" Ordinal="1">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MaxOccurs="50" Name="Email" Ordinal="2">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="RetryAttempts" Ordinal="4">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.2" Ordinal="2">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.3" Ordinal="3">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.4" Ordinal="4">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.5" Ordinal="5">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.6" Ordinal="6">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.7" Ordinal="7">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.8" Ordinal="8">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.9" Ordinal="9">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.10" Ordinal="10">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.11" Ordinal="11">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.12" Ordinal="12">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.13" Ordinal="13">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.14" Ordinal="14">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.15" Ordinal="15">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.16" Ordinal="16">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.17" Ordinal="17">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.18" Ordinal="18">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.19" Ordinal="19">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.20" Ordinal="20">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="DelayRetryAttempts" Ordinal="5">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame2" Ordinal="2">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="AcumenSoapService" Ordinal="5">
                                        <Contents>
                                            <mf:Leaf runat="server" LeafType="Attribute" MinOccurs="0" Name="active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SoapServerURL" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SiteCode" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SitePwd" Ordinal="4">
                                            </mf:Leaf>
                                            <mf:Branch runat="server" Name="Notifications" Ordinal="5">
                                                <Contents>
                                                    <mf:Leaf runat="server" Name="Service_FromAddress" Ordinal="1">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MaxOccurs="50" Name="Email" Ordinal="2">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="RetryAttempts" Ordinal="6">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.2" Ordinal="2">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.3" Ordinal="3">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.4" Ordinal="4">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.5" Ordinal="5">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.6" Ordinal="6">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.7" Ordinal="7">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.8" Ordinal="8">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.9" Ordinal="9">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.10" Ordinal="10">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.11" Ordinal="11">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.12" Ordinal="12">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.13" Ordinal="13">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.14" Ordinal="14">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.15" Ordinal="15">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.16" Ordinal="16">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.17" Ordinal="17">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.18" Ordinal="18">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.19" Ordinal="19">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.20" Ordinal="20">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="DelayRetryAttempts" Ordinal="7">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame2" Ordinal="2">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="FreeGiftPremium" Ordinal="6">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="Active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="B2B" Ordinal="7">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="Active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="Clickwrap_Agreement" Ordinal="8">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="Active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="Display_For" Ordinal="2">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="All Products">All Products</asp:ListItem>
                                                            <asp:ListItem Value="Downloadable Products Only">Downloadable Products Only</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="Downloadable_Products" Ordinal="9">
                                        <Contents>
                                            <mf:Leaf runat="server" LeafType="Attribute" MinOccurs="0" Name="active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SoapServiceURL" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="PublisherCode" Ordinal="3">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="PortalWebServicePassCode" Ordinal="4">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="DownloadBaseURL" Ordinal="5">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="WSVersion" Ordinal="6">
                                            </mf:Leaf>
                                            <mf:Branch runat="server" Name="Notifications" Ordinal="7">
                                                <Contents>
                                                    <mf:Leaf runat="server" Name="Service_FromAddress" Ordinal="1">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MaxOccurs="50" Name="Email" Ordinal="2">
                                                        <Additions>
                                                            <mfadd:Restriction runat="server" RestrictionType="Pattern" Value="([\w_\-\.]+@[\w_\-]+\.\w{3})" />
                                                        </Additions>
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="RetryAttempts" Ordinal="8">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.2" Ordinal="2">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.3" Ordinal="3">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.4" Ordinal="4">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.5" Ordinal="5">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.6" Ordinal="6">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.7" Ordinal="7">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.8" Ordinal="8">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.9" Ordinal="9">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.10" Ordinal="10">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.11" Ordinal="11">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.12" Ordinal="12">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.13" Ordinal="13">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.14" Ordinal="14">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.15" Ordinal="15">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.16" Ordinal="16">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.17" Ordinal="17">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.18" Ordinal="18">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.19" Ordinal="19">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="Time_Delay_for_Attempt_No.20" Ordinal="20">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                            <mf:Branch runat="server" Name="DelayRetryAttempts" Ordinal="9">
                                                <Contents>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame1" Ordinal="1">
                                                    </mf:Leaf>
                                                    <mf:Leaf runat="server" MinOccurs="0" Name="TimeFrame2" Ordinal="2">
                                                    </mf:Leaf>
                                                </Contents>
                                            </mf:Branch>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="Synchronization" Ordinal="10">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="IncludeInSyncProcess" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="AcumenDSN" Ordinal="2">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="PriceSync" Ordinal="3">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="Price_1">Price_1</asp:ListItem>
                                                            <asp:ListItem Value="Price_2">Price_2</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="ConvertPoundToOunces" Ordinal="4">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" DefaultValue="true" Name="ContributorPlural" Ordinal="5">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="DTSPackageName" Ordinal="6">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SyncDBName" Ordinal="7">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SyncDBUser" Ordinal="8">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="SyncDBPwd" Ordinal="9">
                                            </mf:Leaf>
                                            <mf:Leaf runat="server" Name="UseDTS" Ordinal="10">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                    <mf:Branch runat="server" MinOccurs="0" Name="StandingOrders" Ordinal="11">
                                        <Contents>
                                            <mf:Leaf runat="server" Name="Active" Ordinal="1">
                                                <ValueHandler>
                                                    <mfvh:ListBoxValueHandler runat="server" Value="">
                                                        <ListBox Rows="1">
                                                            <asp:ListItem Value="true">true</asp:ListItem>
                                                            <asp:ListItem Value="false">false</asp:ListItem>
                                                        </ListBox>
                                                    </mfvh:ListBoxValueHandler>
                                                </ValueHandler>
                                            </mf:Leaf>
                                        </Contents>
                                    </mf:Branch>
                                </Contents>
                            </mf:Branch>
                        </Contents>
                    </mf:Branch>
                </Contents>
            </mf:Root>
        </div>
    </div>
</asp:Panel>
